package tests.jdl.tokenization;

import jdl.tokenization.Token;
import jdl.tokenization.TokenType;

import org.junit.Test;

public class Token_Test {
	@Test(expected = IllegalArgumentException.class)
	public void constructor_contentIsNull() {
		new Token(null, TokenType.NUMBER);
	}

	@Test(expected = IllegalArgumentException.class)
	public void constructor_contentIsEmpty() {
		new Token("", TokenType.NUMBER);
	}
}
